@echo off
echo deploying to MavLinkAdapter.zip...
del /Q MavLinkAdapter.zip > nul
md .\MavLinkAdapter > nul
xcopy /Q /E /Y ..\dist .\MavLinkAdapter\ /EXCLUDE:exclude.txt > nul
xcopy /Q /E /Y .\launchscripts .\MavLinkAdapter\ > nul
xcopy /Q /E /Y ..\native .\MavLinkAdapter\lib\ > nul
xcopy /Q /E /Y ..\data .\MavLinkAdapter\data\ /EXCLUDE:exclude.txt > nul
"c:\program files\7-zip\7z.exe" a .\MavLinkAdapter.zip .\MavLinkAdapter > nul
rd /Q /S .\MavLinkAdapter > nul
echo completed
